package com.nuanshui.heatedloan.credit.facade;

import com.nuanshui.heatedloan.credit.form.CustomerIdCardInfoForm;
import com.nuanshui.heatedloan.credit.vo.CustomerIdCardInfoVO;

import java.util.List;

public interface CustomerIdCardInfoService {
	  /***
     * 新增客户身份信息
     * @param customerIdCardInfoForm
     */
      CustomerIdCardInfoForm saveCustomerIdCardInfoVO(CustomerIdCardInfoForm customerIdCardInfoForm);
   
   /***
     * 修改客户身份信息
     * @param customerIdCardInfoForm
     */
   CustomerIdCardInfoForm updateCustomerIdCardInfoVO(CustomerIdCardInfoForm customerIdCardInfoForm);
   
   
   /***
    * 获取身份信息
    * @param id
    * @return
    */
   CustomerIdCardInfoVO loadVO(String id);
   
   
   /***
    * 删除客户信息
    * @param id
    */
   void deleteCustomerIdCardInfoVO(String id);

   /***
    * 根据用户的id获取这个人的身份信息
    * @param userId
    * @return
    */
   CustomerIdCardInfoVO loadByUserId(String userId);

   /***
    * 获取所有的个人信息
    * @return
    */
   List<CustomerIdCardInfoVO> getAllCustomerIdCardInfoVO();
}
